package com.lxw.study.behavioral.mediator;

public class Client {
    public static void main(String[] args) {
        ChatMediator mediator = new ChatMediatorImpl();
        User user1 = new ChatUser(mediator, "张三");
        user1.sendMessage("Hello, everyone!");
    }
}
